#include "widget.h"
#include "ui_widget.h"
#include <QDebug>
Widget::Widget(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::Widget)
{
    ui->setupUi(this);
//    ui->comboBox->addItem("芝士");
//    ui->comboBox->addItem("巨有霸");
//    ui->comboBox_2->addItem("鼠条");
//    ui->comboBox_2->addItem("鸭米花");
//    ui->comboBox_3->addItem("阔乐");
//    ui->comboBox_3->addItem("乐可");
}

Widget::~Widget()
{
    delete ui;
}


void Widget::on_pushButton_clicked()
{
    qDebug() <<ui->comboBox->currentText();
}
